/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sd.rmi.simple.server;

import java.rmi.RemoteException;

/**
 *
 * @author blackdevil
 */
public class Server {
public static void main(String[] argv) {
        String serviceName = "hello";
        
    try {
		new ServerProxy(new ServerObject(), serviceName).run();
	} catch (RemoteException e) {
		e.printStackTrace();
	}
    }
}
